package top.zhaoyuliu.logbook.client.connect.packet;

import org.tio.core.intf.Packet;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Copyright © 2021 Arain. All rights reserved.
 *
 * @Title: LbPacket.java
 * @Prject: logbook-client
 * @Package: top.zhaoyuliu.logbook.client.connect.packet
 * @Description: <功能详细描述>
 * @author: Arain
 * @date: 2021年1月22日 下午3:15:56
 * @version: V1.0
 */
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class LbPacket extends Packet {

	public static int HEADER_LENGTH = 5;

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	private byte type;
	
	private byte[] body;
}
